package com.flyme.module.file.client.api;


import com.flyme.common.core.model.ResultBody;
import com.flyme.common.core.model.query.PagerInfo;
import com.flyme.module.file.client.entity.SysIndextag;
import org.springframework.web.bind.annotation.*;


/**
 * @author zyf
 */
@RequestMapping("/indextag")
public interface SysIndextagRemoteService {

    /**
     * 首页模块列表
     */
    @PostMapping("/list")
    ResultBody list(@ModelAttribute(value = "pagerInfo") PagerInfo pagerInfo, SysIndextag indextag);

    /**
     * 新增或更新
     */
    @PostMapping("/addOrEdit")
    ResultBody addOrEdit(@ModelAttribute SysIndextag indextag);

    /**
     * 移除黑名单
     */
    @GetMapping("delByTagId/{id}")
    ResultBody delByTagId(@PathVariable Long id);

}
